#ifndef CALENDARWIDGET_H
#define CALENDARWIDGET_H

#include <QCalendarWidget>
#include <QWidget>
#include <QPalette>

class CalendarWidget : public QCalendarWidget
{
    Q_OBJECT
public:
    CalendarWidget(QWidget* parent = NULL);
    ~CalendarWidget();
    void initData();
    void paint();
    void setUserName(QString username);

private:
    QList<QDate> attendanceDateList;
    QString username;
};

#endif // CALENDARWIDGET_H
